package com.wnxy.admin.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.time.LocalDateTime;
import java.util.Date;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * <p>
 * 共享管理表
 * </p>
 *
 * @author All
 * @since 2023-11-29
 */
@Data
  @TableName("t_sharing_management")
@ApiModel(value = "SharingManagement对象", description = "共享管理表")
public class SharingManagement implements Serializable {

    private static final long serialVersionUID = 1L;

      @ApiModelProperty("共享管理表")
        @TableId(value = "id", type = IdType.AUTO)
      private Long id;

      @ApiModelProperty("共享时间段")
      private String sharedTimePeriod;

      @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
      @ApiModelProperty("设置时间")
      private LocalDateTime setTime;

      @ApiModelProperty("状态1:已共享2:未共享")
      private Integer sharedTimeState;

      @ApiModelProperty("描述")
      private String sharedTimeDetail;

      @ApiModelProperty("充电桩表 外键")
      private Long chargingPileId;

      @ApiModelProperty("计费规则表 外键")
      private Long billingRuleId;


}
